package com.zhsource.user.mapper;

import com.zhsource.user.domain.User;
import com.zhsource.user.query.UserQuery;

import java.util.List;

/**
 * <p>@ClassName：UserMapper
 * <p>@Date 2023/10/17  23:15
 *
 * @Author zzl
 **/
public interface UserMapper {
    List<User> list();

    User selectById(Long id);

    void update(User user);

    void insert(User user);

    void delete(Long id);

    void batchDel(List<Long> ids);

    List<User> page(UserQuery userQuery);

    void updateLoginInfo(User user);

    void batchDelLogininfo(List<Long> ids);
}
